<template>
  <div>
      <el-steps direction="vertical" style="margin-left: 100px;" space="60px">
        <el-step  v-for="item in form.nodeList" :title="item.nodeName" :key="item.nodeId"
          ></el-step>
      </el-steps>
  </div>
</template>
<script>
  import {
    previewDefination, getAllFlowDict
  } from "@/api/labdata/flowDefination";
  export default {
    name: "FlowApproval",
    data() {
      return {
        // 遮罩层
        loading: true,
        flowOptions:[],
        // 是否显示弹出层
        open: false,
        // 查询参数
        queryParams: {
        },
        // 表单参数
        form: {},
        // 表单校验
        rules: {
        }
      };
    },
    created() {
    },
    methods: {
      previewData(workflowId){
        previewDefination(workflowId).then(response => {
          this.form = response.data;
        });
      },

    }
  };
</script>
